package com.jack.bookshop.vo;
import java.util.List;

public class ResultVo {
    int code;
    List<String> list;
    public void success() {
        this.code = 1;
    }
    public void fail() {
        this.code = 0;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "ResultVo{" +
                "code=" + code +
                ", list=" + list +
                '}';
    }
}
